package com.shucoin.www.tycoin.bean;

import java.util.List;

/**
 * Created by happy on 2017/8/28.
 */

public class DepthInfo extends BaseResponse {



    private String ch;
    private long ts;
    private TickBean tick;

    public String getCh() {
        return ch;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public long getTs() {
        return ts;
    }

    public void setTs(long ts) {
        this.ts = ts;
    }

    public TickBean getTick() {
        return tick;
    }

    public void setTick(TickBean tick) {
        this.tick = tick;
    }

    public static class TickBean {
        /**
         * bids : [[2270,78.8797],[2265.21,7.16],[2265.2,7],[2265.03,2.99],[2265.02,3.2029],[2265.01,107.8081],[2265,98.1233],[2264.55,0.65],[2264.24,2.38],[2264.21,0.3],[2264,4],[2263,46.4594],[2262,0.2878],[2261.5,0.06],[2261.23,3],[2261,23.7214],[2260.3,3.3151],[2260.12,8.9786],[2260,2.7408],[2258,1.99],[2257.01,3.1],[2256.57,8.443],[2256,1.2],[2255.88,4],[2255.51,0.299],[2255.5,12.5897],[2255,16.0602],[2254.55,0.1],[2254.01,3],[2254,25.9219],[2253,103.2802],[2252.31,3],[2252.3,1],[2252,3],[2250.57,3],[2250.56,3.452],[2250.1,8.6358],[2250.01,0.0361],[2250,91.4924],[2247.01,4],[2247,84.4301],[2246.6,2],[2246.31,38.285],[2245,28.6011],[2241.39,0.7428],[2240.11,5],[2240,56.1729],[2239.99,26.0802],[2238,12.1412],[2237,2.7904],[2236.31,45.4699],[2236,17.0287],[2235.02,6],[2235.01,6],[2235,26.3352],[2234.99,8.4918],[2233,2],[2232,6.2433],[2231.99,76.7672],[2231.22,0.3416],[2231,21.2306],[2230.88,1.0309],[2230.18,7.1057],[2230.01,0.1],[2230,126.3408],[2229.99,9.1185],[2228,4.397],[2227,20],[2226,0.0991],[2225.84,1],[2225.01,0.0361],[2225,85.5858],[2224.99,5.8455],[2224,0.5],[2223.9,5.1371],[2223.6,0.5],[2223,0.8927],[2222.22,0.0991],[2222.1,8.117],[2222.01,4.016],[2222,22.7652],[2221.08,3],[2220.5,2.2307],[2220.01,3.1],[2220,204.3612],[2219.99,5.5533],[2219,2],[2218.88,7.2003],[2218.6,2],[2218,11.7362],[2217,0.0038],[2216.77,5],[2216,2.6802],[2215.77,15.77],[2215.56,0.4517],[2215.35,0.0998],[2215.2,41.1762],[2215,74.1239],[2214.99,12.4677],[2214.2,1.2125],[2212.01,3],[2212,14.9335],[2211.11,9.7245],[2211.1,1.8614],[2211.01,11.7626],[2211,13.1842],[2210.55,4.5503],[2210.1,0.8509],[2210.01,2],[2210,195.4811],[2209,3.523],[2208.41,1.0184],[2208.01,1.7],[2208,26.6221],[2207.79,84.4301],[2207,0.0102],[2206.76,0.8501],[2206.66,3.1303],[2206.5,6.133],[2206.2,5],[2206,68.3488],[2205.68,2],[2205.5,17],[2205.31,3.073],[2205.2,2],[2205.11,0.01],[2205.1,2.0938],[2205.05,3.028],[2205.02,0.2],[2205.01,1.2],[2205,42.5365],[2204,5.4364],[2203.98,4],[2203.71,3],[2203,1.5575],[2202.22,1],[2202,72.129],[2201.1,0.6339],[2201.03,241.7408],[2201.01,65.16],[2201,27.3716],[2200.78,0.7548],[2200.41,0.4218],[2200.1,0.3568],[2200.03,1.7338],[2200.02,0.1972],[2200.01,36.5887],[2200,849.8611],[2199.91,0.5983],[2199.5,30]]
         * asks : [[2273.25,0.4235],[2274.99,1.1],[2275,9.4799],[2276.9,8.7623],[2278.6,0.2],[2279.99,4.0999],[2280,157.7982],[2282,0.1],[2282.99,0.1645],[2283,1],[2285,20.7916],[2285.5,1],[2285.99,8.443],[2286,12.0267],[2286.99,3],[2287,9.6792],[2287.99,2.7011],[2288,76.8547],[2288.8,2.7478],[2289,1],[2289.99,0.01],[2290,10.2349],[2290.24,25],[2292,11.3726],[2295,35.8016],[2295.2,9.226],[2296,5.7048],[2296.38,9.3459],[2297,4.8041],[2297.77,0.4995],[2298,28.2136],[2298.9,3.5653],[2298.98,2],[2299,34.4168],[2299.5,4.7543],[2299.88,1],[2299.99,0.046],[2300,303.0019],[2302,0.1],[2303,0.9233],[2304,1.8252],[2304.74,11.2],[2304.88,0.6078],[2305,2.2639],[2305.88,1],[2306,0.1],[2307,0.1],[2308,0.47],[2309.99,3],[2310,12.7405],[2310.2,7.04],[2311.14,0.5099],[2312,0.1],[2315,43.8337],[2315.8,4.3794],[2316.88,4.995],[2316.99,30.1679],[2317,0.1855],[2318,25.0366],[2319,1.3277],[2319.1,3.0047],[2319.88,2.2102],[2319.99,49.3533],[2320,270.9871],[2320.01,0.999],[2322,0.1],[2323,4.9183],[2324,34.2775],[2324.99,0.036],[2325,25.9978],[2325.88,0.5],[2326,0.6976],[2326.55,10.641],[2327,0.1],[2328,6.45],[2328.55,2.2109],[2328.78,3],[2329,4.9335],[2330,198.7722],[2330.02,5.4334],[2331,8.6443],[2332,1.2621],[2333,12.5199],[2334,7.6923],[2334.9,0.9632],[2335,55.4811],[2335.3,7.6077],[2336,20.6723],[2336.88,5.6517],[2337,5.958],[2337.9,0.9632],[2338,54.439],[2338.1,1.5],[2338.38,0.999],[2338.68,0.6179],[2339,9.1878],[2339.8,21.0303],[2339.9,4.7209],[2339.96,4.2664],[2340,520.2107],[2340.02,0.0455],[2340.1,3.3486],[2340.98,1.4627],[2341.3,1.3351],[2341.38,4.9967],[2341.78,9.719],[2342,42.0603],[2343,47.5157],[2343.38,39.7214],[2344,8.8617],[2344.88,37.0922],[2345,451.362],[2345.02,2.6701],[2345.25,0.8944],[2345.5,3.996],[2346,10.8975],[2346.1,7],[2347,8.1759],[2347.1,12.806],[2348,149.0486],[2348.1,13.4955],[2348.5,9.571],[2348.8,28.6036],[2348.99,0.8171],[2349,127.5378],[2349.15,3],[2349.21,16.6579],[2349.5,4.59],[2349.75,2.8582],[2349.8,3.5681],[2349.9,13.3812],[2349.98,5.996],[2349.99,21.9134],[2350,1294.8513],[2350.01,0.1],[2350.8,1],[2350.97,3.7967],[2351,3.2363],[2351.03,0.209],[2351.26,0.0086],[2352,0.1],[2353,14.9732],[2353.99,295.9219],[2354,1.8516],[2355,68.6299],[2355.9,6.8036],[2356,183.5941],[2357,0.3274],[2358,203.3122],[2359,104.8372]]
         * ts : 1503902783018
         * version : 47859278
         */




        private long ts;
        private int version;
        private List<BidsBean> bids;
        private List<BidsBean> asks;

        public long getTs() {
            return ts;
        }

        public void setTs(long ts) {
            this.ts = ts;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public List<BidsBean> getBids() {
            return bids;
        }

        public void setBids(List<BidsBean> bids) {
            this.bids = bids;
        }

        public List<BidsBean> getAsks() {
            return asks;
        }

        public void setAsks(List<BidsBean> asks) {
            this.asks = asks;
        }
    }
}
